Security and Authentication

Application-Wide Page Security

Code Customization
Application-Wide Page Security
Description:

This customization enforces application-wide security without configuring security on a page by page basis.

For a Web Application the customization will be added in:

..\<Application Name>\Shared\BaseApplicationPage.cs

For example: C:\MyApp1\Shared\BaseApplicationPage.cs


For a Web Site the customization will be added in:

..\<Application Name>\App_Code\Shared\BaseApplicationPage.cs

For example: C:\MyApp1\App_Code\Shared\BaseApplicationPage.cs

Procedure:

Step 1:  Enable role-based security in your application using the Application Security Wizard.

Step 2:  Use this wizard to add code customization.

Step 3:  Build and run the application. If application pages were not previously secured with role-based security, they will now require the user to sign-in.

Disclaimer:
Customizations included in this wizard are provided as a sample to demonstrate a feature, and may work only in specific situations. The Iron Speed Designer support team cannot assist in the resolution of problems which may occur as a result of customizing your application or modifying a customization to fit a particular purpose.

Terms of Service Privacy Statement